package com.ehome.poct.base.api.feign.device;

import com.ehome.poct.base.api.qry.device.DeviceBatchQry;
import com.ehome.poct.base.api.vo.device.DeviceBatchVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * 设备批次控制器
 *
 * @author wuyingchao
 * @Date 2022-04-21 16:02
 */
@FeignClient(value = "${service.erp-material:}${service.suffix.erp-material:}", path = "/device_batch", contextId = "deviceBatch")
public interface DeviceBatchClient {
    
    @GetMapping("/one")
    DeviceBatchVO queryOne(@SpringQueryMap DeviceBatchQry qry);
    
}
